package org.example.ls;

import org.example.ls.entity.Student;
import org.example.ls.service.StudentService;

/**
 * ClassName: Main
 * Description:
 *
 * @Author zjl
 * @Create 2025/04/23 16:15
 * @Version 1.0
 */
public class Main {

    public static void main(String[] args) {
        StudentService service = new StudentService();
        Student student = new Student();
        student.setName("小明");
        student.setEmail("xiaoming@qq.com");
        service.save(student);
        System.out.println(student.getId());
    }
}
